import random
s = random.randint(1,10)
t = input('猜一下')
guess = int(t)
times = 1

while (s != guess) and (times < 4):
 if s < guess :
       print('大了')
 elif s > guess :
     print('小了')
 elif s == guess :
        print('猜对了')
 break

t = input( )
guess = input(t)
times = times ++ 1
